package com.syaccp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.syaccp.mapper.CustomerUseCouponMapper;
import com.syaccp.model.CustomerUseCoupon;
import com.syaccp.service.CustomerUseCouponService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


/**
 * 针对表【t_customer_use_coupon(订单使用优惠卷表)】的数据库操作Service实现
 *
 * @author Lyh
 * @since 2023-07-30 11:09:27
 */
@Service
public class CustomerUseCouponServiceImpl extends ServiceImpl<CustomerUseCouponMapper, CustomerUseCoupon>
        implements CustomerUseCouponService {

    @Resource
    CustomerUseCouponMapper customerUseCouponMapper;

    @Override
    public Integer insertCustomerUseCouponRecord(CustomerUseCoupon customerUseCoupon) {
        return customerUseCouponMapper.insert(customerUseCoupon);
    }
}




